package com.example.pathprotectsystem.pojo;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.time.LocalDateTime;
@Data
public class User {
    private Integer id;//主键ID
    private String userName;//用户名
    private String userType;//用户类型
    private String passWord;//密码
    private String nickName;//昵称
    private String email;//邮箱
    private String userPic;
    private String radio; //是否重置密码
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
    private LocalDateTime createTime;//创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
    private LocalDateTime updateTime;//更新时间
}
